﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001379 RID: 4985
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class TakePunkLordPointRewardCsReq : IMessage<TakePunkLordPointRewardCsReq>, IMessage, IEquatable<TakePunkLordPointRewardCsReq>, IDeepCloneable<TakePunkLordPointRewardCsReq>, IBufferMessage
	{
		// Token: 0x17003ED9 RID: 16089
		// (get) Token: 0x0600DF2D RID: 57133 RVA: 0x00254EA9 File Offset: 0x002530A9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<TakePunkLordPointRewardCsReq> Parser
		{
			get
			{
				return TakePunkLordPointRewardCsReq._parser;
			}
		}

		// Token: 0x17003EDA RID: 16090
		// (get) Token: 0x0600DF2E RID: 57134 RVA: 0x00254EB0 File Offset: 0x002530B0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return TakePunkLordPointRewardCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003EDB RID: 16091
		// (get) Token: 0x0600DF2F RID: 57135 RVA: 0x00254EC2 File Offset: 0x002530C2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return TakePunkLordPointRewardCsReq.Descriptor;
			}
		}

		// Token: 0x0600DF30 RID: 57136 RVA: 0x00254EC9 File Offset: 0x002530C9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TakePunkLordPointRewardCsReq()
		{
		}

		// Token: 0x0600DF31 RID: 57137 RVA: 0x00254ED1 File Offset: 0x002530D1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TakePunkLordPointRewardCsReq(TakePunkLordPointRewardCsReq other) : this()
		{
			this.level_ = other.level_;
			this.iCDOHKPKMAH_ = other.iCDOHKPKMAH_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600DF32 RID: 57138 RVA: 0x00254F02 File Offset: 0x00253102
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TakePunkLordPointRewardCsReq Clone()
		{
			return new TakePunkLordPointRewardCsReq(this);
		}

		// Token: 0x17003EDC RID: 16092
		// (get) Token: 0x0600DF33 RID: 57139 RVA: 0x00254F0A File Offset: 0x0025310A
		// (set) Token: 0x0600DF34 RID: 57140 RVA: 0x00254F12 File Offset: 0x00253112
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Level
		{
			get
			{
				return this.level_;
			}
			set
			{
				this.level_ = value;
			}
		}

		// Token: 0x17003EDD RID: 16093
		// (get) Token: 0x0600DF35 RID: 57141 RVA: 0x00254F1B File Offset: 0x0025311B
		// (set) Token: 0x0600DF36 RID: 57142 RVA: 0x00254F23 File Offset: 0x00253123
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool ICDOHKPKMAH
		{
			get
			{
				return this.iCDOHKPKMAH_;
			}
			set
			{
				this.iCDOHKPKMAH_ = value;
			}
		}

		// Token: 0x0600DF37 RID: 57143 RVA: 0x00254F2C File Offset: 0x0025312C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as TakePunkLordPointRewardCsReq);
		}

		// Token: 0x0600DF38 RID: 57144 RVA: 0x00254F3A File Offset: 0x0025313A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(TakePunkLordPointRewardCsReq other)
		{
			return other != null && (other == this || (this.Level == other.Level && this.ICDOHKPKMAH == other.ICDOHKPKMAH && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600DF39 RID: 57145 RVA: 0x00254F78 File Offset: 0x00253178
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Level != 0U)
			{
				num ^= this.Level.GetHashCode();
			}
			if (this.ICDOHKPKMAH)
			{
				num ^= this.ICDOHKPKMAH.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600DF3A RID: 57146 RVA: 0x00254FD0 File Offset: 0x002531D0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600DF3B RID: 57147 RVA: 0x00254FD8 File Offset: 0x002531D8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600DF3C RID: 57148 RVA: 0x00254FE4 File Offset: 0x002531E4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Level != 0U)
			{
				output.WriteRawTag(16);
				output.WriteUInt32(this.Level);
			}
			if (this.ICDOHKPKMAH)
			{
				output.WriteRawTag(96);
				output.WriteBool(this.ICDOHKPKMAH);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600DF3D RID: 57149 RVA: 0x00255040 File Offset: 0x00253240
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Level != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Level);
			}
			if (this.ICDOHKPKMAH)
			{
				num += 2;
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600DF3E RID: 57150 RVA: 0x0025508C File Offset: 0x0025328C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(TakePunkLordPointRewardCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Level != 0U)
			{
				this.Level = other.Level;
			}
			if (other.ICDOHKPKMAH)
			{
				this.ICDOHKPKMAH = other.ICDOHKPKMAH;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600DF3F RID: 57151 RVA: 0x002550DC File Offset: 0x002532DC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600DF40 RID: 57152 RVA: 0x002550E8 File Offset: 0x002532E8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 16U)
				{
					if (num != 96U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.ICDOHKPKMAH = input.ReadBool();
					}
				}
				else
				{
					this.Level = input.ReadUInt32();
				}
			}
		}

		// Token: 0x0400586D RID: 22637
		private static readonly MessageParser<TakePunkLordPointRewardCsReq> _parser = new MessageParser<TakePunkLordPointRewardCsReq>(() => new TakePunkLordPointRewardCsReq());

		// Token: 0x0400586E RID: 22638
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400586F RID: 22639
		public const int LevelFieldNumber = 2;

		// Token: 0x04005870 RID: 22640
		private uint level_;

		// Token: 0x04005871 RID: 22641
		public const int ICDOHKPKMAHFieldNumber = 12;

		// Token: 0x04005872 RID: 22642
		private bool iCDOHKPKMAH_;
	}
}
